{template 'common/header'}
<div class="list-group">
    <p class="list-group-item" style="background-color: #D9EDF7;margin:0 auto">PC端网站信息基本设置</p>
    <div class="list-group-item" style="margin: 0 auto">
        <form action="" method="post" class="form-horizontal">
        <div class="form-group">
            <label for="title" class="col-sm-2 control-label">网站名称</label>
            <div class="col-sm-10">
                <input type="text" name="title" id="title" value="{$pcset['title']}" class="form-control">
            </div>
        </div>
        <div class="form-group">
            <label for="title" class="col-sm-2 control-label">PC_appid</label>
            <div class="col-sm-10">
                <input type="text" name="pc_appid" id="appid" value="{$pcset['pc_appid']}" class="form-control">
            </div>
        </div>
        <div class="form-group">
            <label for="title" class="col-sm-2 control-label">PC_secret</label>
            <div class="col-sm-10">
                <input type="text" name="pc_secret" id="secret" value="{$pcset['pc_secret']}" class="form-control">
            </div>
        </div>
        <div class="form-group">
            <label  class="col-sm-2 control-label">icon图标</label>
            <div class="col-sm-10">
                {php echo tpl_form_field_image('icon',$pcset['icon'])}
                <span class="help-block">图标类型为<span style="color:red">icon</span></span>
            </div>
        </div>
        <div class="form-group">
            <label for="keywords" class="col-sm-2 control-label">SU搜索关键字</label>
            <div class="col-sm-10">
                <input type="text" name="keywords" id="keywords" value="{$pcset['keywords']}" class="form-control">
                <span class="help-block">多个关键字请以<span style="color:red">英文</span>逗号隔开</span>
            </div>
        </div>
        <div class="form-group">
            <label  class="col-sm-2 control-label">logo_title</label>
            <div class="col-sm-10">
                <input type="text" name="logo_title" id="logo_title" value="{$pcset['logo_title']}" class="form-control">
            </div>
        </div>
        <div class="form-group">
            <label  class="col-sm-2 control-label">logo图片</label>
            <div class="col-sm-10">
                {php echo tpl_form_field_image('logo',$pcset['logo'])}
                <span class="help-block" >logo图标大小建议为：<span style="color:red">170*50</span></span>
            </div>
        </div>
        <div class="form-group">
            <label  class="col-sm-2 control-label">公众号二维码</label>
            <div class="col-sm-10">
                {php echo tpl_form_field_image('qrcode',$pcset['qrcode'])}
                <span class="help-block" >建议为：<span style="color:red">170*50</span></span>
            </div>
        </div>
        <div class="form-group">
            <label  class="col-sm-2 control-label">小程序二维码</label>
            <div class="col-sm-10">
                {php echo tpl_form_field_image('xqrcode',$pcset['xqrcode'])}
                <span class="help-block" >建议为：<span style="color:red">170*50</span></span>
            </div>
        </div>
        <div class="form-group">
            <label for="description"  class="col-sm-2 control-label">网站描述</label>
            <div class="col-sm-10" >
                <textarea name="description" id="description" cols="30" rows="10" class="form-control">{$pcset['description']}</textarea>
            </div>
        </div>
        <div class="form-group">
            <label for="qq"  class="col-sm-2 control-label">网站QQ：</label>
            <div class="col-sm-10" >
                <input type="text" name="qq" id="qq" value="{$pcset['qq']}" class="form-control">
            </div>
        </div>
        <div class="form-group">
            <label for="qq"  class="col-sm-2 control-label">地址：</label>
            <div class="col-sm-10" >
                <input type="text" name="address" id="address" value="{$pcset['address']}" class="form-control">
            </div>
        </div>
        <div class="form-group">
            <label for="phone"  class="col-sm-2 control-label">网站联系方式</label>
            <div class="col-sm-10" >
                <input type="text" name="phone" id="phone" value="{$pcset['phone']}" class="form-control">
            </div>
        </div>
        <div class="form-group">
            <label for="keepon"  class="col-sm-2 control-label">网站备案信息</label>
            <div class="col-sm-10" >
                <input type="text" name="keepon" id="keepon" value="{$pcset['keepon']}" class="form-control">
            </div>
        </div>

        <input type="hidden" name="id" value="{$pcset['id']}">
        <input type="hidden" name="token" value="{$_W['token']}">
        <div style="float: right;margin:10px">
            <input type="submit" name="submit" value="保存设置" class="btn btn-info" >
        </div>
        <div style="clear: both;"></div>
        </form>
    </div>
</div>
{template 'common/footer'}